﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Main
{
    /// <summary>
    /// Règles communes
    /// </summary>
    public static class REGLES
    {
        public static string S_LECTURE = "S_LECTURE.txt";
        public static string S_ECRITURE = "S_ECRITURE.txt";
        public static string L_LECTURE = "L_LECTURE.txt";
        public static string L_ECRITURE = "L_ECRITURE.txt";
        public static string PIPE_TRANSPORT_TO_RESEAU = "TransportToReseau";
        public static string PIPE_RESEAU_TO_TRANSPORT = "ReseauToTransport";
        public static string PIPE_TRANSPORT_TO_TRANSPORT = "TransportToTransport";
        public static string PIPE_RESEAU_TO_RESEAU = "ReseauToReseau";

        public static int MULTIPLE_POUR_REFUS_CONNEXION_FOURNISSEUR = 27;
        public static int MULTIPLE_POUR_REFUS_CONNEXION_DISTANT = 13;
        public static int MULTIPLE_POUR_ABSENCE_REPONSE_CONNEXION = 19;
        public static int MULTIPLE_POUR_ABSENCE_ACQUITTEMENT = 15;

        public static int NOMBRE_MAXIMUM_RETRANSMISSION_PACKET = 1;
        public static int FENETRE_ENVOIE_PACKET = 1;

        public static int DELAI_TEMPORISATEUR = 2000;
        public static int MAX_BYTES = 128;
    }
}
